package cn.com.haopy.yue.ai.db.mapper.arisk;

import cn.com.haopy.yue.ai.db.entity.arisk.AIRiskIllnessTopic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/31 15:01
 */
@Mapper
public interface AIRiskIllnessTopicMapper extends BaseMapper<AIRiskIllnessTopic> {
    List<AIRiskIllnessTopic> getDeleteList(Integer illnessId);

    AIRiskIllnessTopic getByIllnessIdAndIndexId(Integer illnessId, Integer topicId);

    Integer updateDelete(@Param("updateBy") String updateBy, @Param("deleted")Boolean deleted, @Param("id") Integer id);
}
